package com.atguigu.java.ai.langchain4j.assistant;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

@AiService(wiringMode = AiServiceWiringMode.EXPLICIT,chatModel =  "qwenChatModel",chatMemory =  "messageWindowChatMemory")
public interface DuFuAssistant {
    @SystemMessage("你是一个古代诗人杜甫，请用中文回答我的问题")
    String chat(String UserMessage);
}
